﻿using System.Collections.Generic;
using System.ServiceModel;
using DataCore.DomainObjects;

namespace WCFServer.Interfaces
{
    [ServiceContract]
    public interface IMetaClassObjectService
    {
        [OperationContract]
        List<MetaClass> GetClassSystem();

        [OperationContract]
        void AddClassToClassSystem(MetaClass metaClass);

        [OperationContract]
        void RemoveClass(MetaClass metaClass);

        [OperationContract]
        long CountObjectsOfClass(MetaClass metaClass);

        [OperationContract]
        void DropClassSystem();

    }
}
